package com.example.demo.carmanage.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
@Component(value ="carMapper")
public interface CarMapper {

    List<Map<String,Object>> queryAllCarsMapper(Map<String, Object> param);

    Map<String,String> queryAllCarsCountMapper(Map<String, Object> param);

    int saveCarMapper(Map<String, Object> param);

    int saveUploadBookMapper(Map<String, Object> param);

    int delCarMapper(Map<String, Object> param);

    int saveZWInfoMapper(Map<String, Object> param);

    Map<String,Object> queryCarInfoByID(Map<String, Object> param);

    List<Map<String,Object>> querySHZWInfosByID(Map<String, Object> param);

    int delZWInfoMapper(Map<String, Object> param);

    int editCarMapper(Map<String, Object> param);

    int saveUploadLicenseMapper(Map<String, Object> param);

    int saveUploadCardMapper(Map<String, Object> param);

    List<Map<String,Object>> queryAllCarNo(Map<String, Object> param);
}
